Command Reference \ Toolbar Commands

addToolbarButton
Adds a button to a toolbar gadget.
addToolbarSplitter
Adds a splitter to a toolbar gadget.
removeToolbarButton
Removes a toolbar button.
getToolbarButtonEnabled
Returns whether or not a toolbar button is enabled.
getToolbarButtonState
Gets the state (pushed in or normal) of a toolbar button.
getToolbarItem
Gets the index of the item underneath the toolbar.
setToolbarButtonEnabled
Sets whether or not a toolbar button is enabled.
setToolbarButtonState
Sets the state (pushed in or normal) of a toolbar button.
addStandardToolbarButtons
Adds a set of standard icons to a toolbar, such as New, Open, Save etc.